<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新用户注册</title>
    <link rel="shortcut icon" href="/兰/images/logo.png">
    <style>
        
        html,
        body {
            width: 100%;
            height: 100%;
            background-color: aliceblue;
        }

        .container {
            position: absolute;
            top: 20%;
            box-shadow: 0 0 5px black;
            width: 35%;
            height: 60%;
            left: 35%;
            text-align: center;
            background-color: white;
        }
       
        .container>div>div>form{
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            left: 25%;
            top: 15%;
        }
        .container>div>div>form>div>input{
            border-radius: 25px/50px;
            width: 250px;
            height: 30px;
            outline-color: rgba(51, 159, 222, 0.91);
            margin-top: 20px;
            border: 1px gray solid;
        }
        .container>div>div>form>button{
            border-radius: 25px/50px;
            width: 255px;
            height: 30px;
            margin-top: 30px;
            background: linear-gradient(to right , rgb(0, 149, 255), rgb(91, 76, 151) );
            font-size: 19px;
            cursor: pointer;
        }
        .deng{
          position: absolute;
        
        }
    </style>
</head>

<body>
    <!-- 整个页面框架 -->
    <div class="container">
        <!-- 注册盒子框架 -->
        <div>
            <!-- 注册内容填写盒子 -->
            <div>
                <form id="registerForm" class="deng">
                    <h3 style="font-size: 25px;">新用户注册</h3>
                    <!-- 创建的账号 -->
                    <!-- div设置的背景图片"登录账号图标、登录密码图标" -->
                    <div>
                        <input type="text" id="username" placeholder="请输入要创建的账号">
                    </div>
                    <!-- 设置密码 -->
                    <!-- 密码不能为空 -->
                    <div>
                        <input type="password" id="password" placeholder="请设置密码">
                    </div>
                    <!-- 注册按钮 -->
                    <!-- 点击注册跳到登录页面 -->
                  
                       <button type="button" onclick="register()">注册</button>
                        <!-- 底部登录即.... -->
                        <p>
                            登录即表示同意平台<a href="" target="_blank">《隐私政策》</a>
                        </p>
                  
                </form>
            </div>
        </div>
    </div>
    <script src="../哲/注册.js"></script>
</body>

</html>